package models;

import javax.persistence.Entity;
import javax.persistence.Id;

import play.data.validation.Constraints;
import play.db.ebean.Model;

@Entity
public class Book extends Model {

	/**
	 * This value must match the revision number always.
	 */
	private static final long serialVersionUID = 1L;

	public Book(){
		super();
	}
	
	@Id
	Long bookId;

	@Constraints.Required
	String title;

}